package com.cc.blog.search.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * lucene 配置映射
 * @Author cc
 * @Date 2024/7/31 11:15
 */
@ConfigurationProperties(prefix = "lucene")
@Component
@Data
public class LuceneProperties {

    /**
     * 索引存放的文件夹
     */
    private String indexDir;
}
